package com.bwie.remote;

import com.bwie.common.domain.User;
import com.bwie.common.domain.request.LoginReq;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

/**
 * @className: RemoteSysUser
 * @Description: TODO
 * @version: v1.８.0
 * @author: 郑伦
 * @date: 2025/7/31 10:03
 */
@FeignClient("bwie-system")
public interface RemoteSysUser {
    @PostMapping("/selectUser")
    public Result<User> selectUser(@RequestBody @Valid LoginReq loginReq);
}